import pamie, cModalPopUp, winGuiAuto
import time

ie = pamie.PAMIE()
wga = winGuiAuto

ie.navigate('http://10.1.64.21/SoftPlat/SoftPlat_Query/Query_UnCloseChange.aspx')

clickCancel = cModalPopUp.handlePopup("Confirm",True)

'''
clickCancel.popupName = ""
clickCancel.start()

ie.buttonClick("install")
time.sleep(1)

clickCancel.join() #
'''